package com.xy.generator;

import cn.hutool.core.io.FileUtil;
import cn.hutool.core.util.ArrayUtil;
import lombok.extern.slf4j.Slf4j;

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;

@Slf4j
public class StaticFileGenerator {
    /**
    * @param inputPath  in
    * @param outputPath ou
    * @description: 拷贝目录及其文件
    * @author tzf
    * @date: 2024-06-15
    */
    
    public static void copyFilesByHutool(String inputPath, String outputPath) {
    FileUtil.copy(inputPath, outputPath, true);
    }

}
